<?xml version="1.0" encoding="utf-8"?>

<div xmlns="http://www.w3.org/1999/xhtml" xid="window" class="window wrp wrp4" component="$UI/system/components/justep/window/window"
  design="device:m;">  
  <div component="$UI/system/components/justep/model/model" xid="model" style="height:auto;top:22px;left:56px;"
    onLoad="modelLoad"> 
    <div component="$UI/system/components/justep/data/baasData" autoLoad="true"
      xid="userData" queryAction="queryUser_table" saveAction="saveUser_table" url="/Highde/user_action"
      tableName="user_table" idColumn="fUserName"> 
      <column label="用户名" name="fUserName" type="String" xid="default17"/>  
      <column label="用户密码" name="fUserPassword" type="String" xid="default18"/>  
      <column label="手机号" name="fPhone" type="String" xid="default19"/>  
      <column label="邮件地址" name="fEmail" type="String" xid="default20"/>  
      <column label="用户分类" name="fUserLevel" type="String" xid="default21"/>  
      <column label="管理者" name="fManager" type="String" xid="default22"/>  
      <column label="注册时间" name="fRegistDate" type="DateTime" xid="default23"/>  
      <column label="上次登录时间" name="fLastLoginDataTime" type="DateTime" xid="default24"/>  
      <column label="真实姓名" name="fTrueName" type="String" xid="default25"/>  
      <column label="是否启用" name="fIsChecked" type="Boolean" xid="default26"/> 
    </div> 
  <div component="$UI/system/components/justep/data/data" autoLoad="false" xid="dataLogin" idColumn="userName" autoNew="true"><column label="用户名" name="userName" type="String" xid="xid1"></column>
  <column label="密码" name="password" type="String" xid="xid2"></column></div></div>  
  <span component="$UI/system/components/justep/windowReceiver/windowReceiver"
    xid="receiver"/>  
  <div component="$UI/system/components/justep/panel/panel" class="x-panel x-full"
    xid="panel1" style="background-image:url($UI/highde/modbusItems/img/login_bg.jpg);background-color:#F2F2F2;"> 
    <!-- <div class="x-panel-top" xid="top1">
      <div component="$UI/system/components/justep/titleBar/titleBar" class="x-titlebar"
        xid="titleBar1"> 
        <div class="x-titlebar-left" xid="left1"/>  
        <div class="x-titlebar-title" xid="title1">
          <span xid="span1" style="font-weight:normal;"><![CDATA[登录]]></span>
        </div>  
        <div class="x-titlebar-right reverse" xid="right1"/>
      </div>
    </div>  -->  
    <div class="x-panel-top" xid="top1" height="100"></div><div class="x-panel-content box box4" xid="content1"> 
      <!-- <div class="spacing list-group-item" xid="div1"> 
        <span component="$UI/system/components/justep/button/toggle" class="x-toggle x-toggle-xs pull-right"
          xid="toggle2"/>
        <span xid="span6"><![CDATA[自动登录]]></span>
      </div>  -->  
      <div xid="div1" class="input-group-addon">
        <ul xid="ul2" style="background-color:transparent;"> 
          <li class="list-group-item" xid="li1"> 
            <div class="input-group" component="$UI/system/components/bootstrap/inputGroup/inputGroup"
              xid="inputGroup4"> 
              <span class="input-group-addon" xid="span4"><![CDATA[账号]]></span>  
              <input type="text" class="form-control" component="$UI/system/components/justep/input/input"
                xid="nameInput" placeHolder="请输入账号" bind-ref='$model.dataLogin.ref("userName")'/> 
            </div> 
          </li>  
          <li class="list-group-item" xid="li1"> 
            <div class="input-group" component="$UI/system/components/bootstrap/inputGroup/inputGroup"
              xid="inputGroup3"> 
              <span class="input-group-addon" xid="span5"><![CDATA[密码]]></span>  
              <input component="$UI/system/components/justep/input/password"
                class="form-control" xid="passwordInput" placeHolder="请输入密码" bind-ref='$model.dataLogin.ref("password")'/> 
            </div> 
          </li> 
        </ul>
        <div xid="div5"> 
          <a component="$UI/system/components/justep/button/button" class="btn btn-default btn-block"
            label="登录" xid="loginBtn" onClick="loginBtnClick" bind-enable='justep.Util.isString($model.dataLogin.val("userName"))&amp;&amp; 
justep.Util.isString($model.dataLogin.val("password"))&amp;&amp;
 $model.dataLogin.val("userName").length &gt; 2 &amp;&amp; 
 $model.dataLogin.val("password").length &gt;5'> 
            <i xid="i1"/>  
            <span xid="span2">登录</span> 
          </a> 
        </div>
        <div xid="div6" align="center" class="list-group-item"> 
          <a component="$UI/system/components/justep/button/button" class="btn btn-link"
            label="注册账号" xid="registerBtn" onClick="registerBtnClick"> 
            <i xid="i2"/>  
            <span xid="span7">注册账号</span> 
          </a>  
          <i xid="i4" class="icon-ios7-information-empty"/>  
          <a component="$UI/system/components/justep/button/button" class="btn btn-link"
            label="忘记密码" xid="forgetBtn" onClick="forgetBtnClick"> 
            <i xid="i3"/>  
            <span xid="span8">忘记密码</span> 
          </a> 
        </div>
      </div>
    </div>  
    <!-- <div class="x-panel-bottom" xid="bottom1" height="100" visible="false">
      <div component="$UI/system/components/justep/row/row" class="x-row text-center"
        xid="row4"> 
        <div class="x-col" xid="col10"> 
          <img src="" alt="" xid="image1" bind-attr-src="$model.toUrl('./img/weixin.png')"
            height="40px" style="width:40;"/>
        </div>  
        <div class="x-col" xid="col11"> 
          <img src="" alt="" xid="image2" bind-attr-src="$model.toUrl('./img/weibo.png')"
            height="40" style="width:40;"/>
        </div>  
        <div class="x-col" xid="col12"> 
          <img src="" alt="" xid="image3" bind-attr-src="$model.toUrl('./img/qq.png')"
            height="40" style="width:40;"/>
        </div> 
      </div>
    </div> --> 
  <div class="x-panel-bottom" xid="bottom2" height="100"></div></div> 
</div>
